package com.koron.ticket.operation.mapper;

import com.koron.ticket.operation.bean.OperationExecuteBean;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface OperationExecuteMapper {

    int deleteByPrimaryKey(String id);

    int insert(OperationExecuteBean record);

    int insertSelective(OperationExecuteBean record);

    OperationExecuteBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OperationExecuteBean record);

    int updateByPrimaryKey(OperationExecuteBean record);

    OperationExecuteBean queryByOperationId(@Param("operationId")String operationId);

    //复审提交成功更新 执行启始时间
    int updateStartTimeByOperationId(@Param("updatedStartTime")Date updatedStartTime,@Param("operationId")String operationId);

    int deleteByOperationId(@Param("operationId")String operationId);



}
